<?php

/**
 * WSB_Model_Log
 *
 * PHP version 5
 *
 * @copyright  2007 Zephir Software Design AG
 */

require_once(WSB_MODULES_PATH . 'system/models/DbTable/Log/Rowset.php');
require_once(WSB_MODULES_PATH . 'system/models/DbTable/Log/Row.php');

class System_Model_DbTable_Log extends WSB_Db_Table
{

    protected $_name = 'log';
    protected $_primary = 'id';
    protected $_rowsetClass = 'System_Model_DbTable_Log_Rowset';
    protected $_rowClass = 'System_Model_DbTable_Log_Row';
    protected $_referenceMap    = array(
        'Beuser' => array(
            'columns'		=> 'beuser_id',
            'refTableClass'	=> 'Member_Model_DbTable_Beuser',
            'refColumns'	=> 'id'
        )
    );
	protected $_order = 'id DESC';
	protected $_listcols = array('id', 'priority', 'beuser_id', 'message', 'created');

}
